package play.scope

data class Configuration(val host: String, val port: Int)

fun main() {
    val configuration = Configuration("192.168.0.1",1234)
    with(configuration) {
        println("$host:$port")
    }
    // instead of:
    println("${configuration.host}:${configuration.port}")
}
